home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
wdj0697.zip
/
TECHTIPS.ZIP
/
TIPSDOC.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-04
|
2KB
|
83 lines
// TipsDoc.cpp : implementation of the CTipsDoc class
//
#include "stdafx.h"
#include "Tips.h"
#include "TipsDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTipsDoc
IMPLEMENT_DYNCREATE(CTipsDoc, CDocument)
BEGIN_MESSAGE_MAP(CTipsDoc, CDocument)
//{{AFX_MSG_MAP(CTipsDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTipsDoc construction/destruction
CTipsDoc::CTipsDoc()
{
// TODO: add one-time construction code here
}
CTipsDoc::~CTipsDoc()
{
}
BOOL CTipsDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CTipsDoc serialization
void CTipsDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CTipsDoc diagnostics
#ifdef _DEBUG
void CTipsDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CTipsDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CTipsDoc commands